﻿<UserControl x:Class="IsikFx.Project.ClientApp.Content.FundIn"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel Orientation="Vertical" Grid.IsSharedSizeScope="True">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.50*"/>
                <ColumnDefinition Width="0.50*"/>
                <ColumnDefinition Width="0.25*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="15"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="15"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Label Grid.Column="0" Grid.Row="1" Content="Giren Fon Miktarı:" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5" />
            <TextBox Grid.Column="1" Name="txtFundIn" Grid.Row="1" Height="Auto" />
            <Label Grid.Column="2" Grid.Row="1" Content="USD" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5"/>
            <Button Name="btnFundIn" Click="btnFundIn_Click_1" Grid.Column="1" Grid.Row="3" Content="Girişi Tamamla" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Green"/>
            <Label Content="Bugünkü hareketler" Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontWeight="Bold"/>
            <StackPanel Grid.Row="4"  >
                <ListView  Name="FundInLogs">
                    <ListView.ItemTemplate>
                        <DataTemplate >
                                <StackPanel Width="Auto">
                                     <TextBlock Name="txtFundIn" HorizontalAlignment="Center" Foreground="Green" FontWeight="Bold" Text="{Binding FundIn}"></TextBlock>
                                </StackPanel>
                        </DataTemplate>
                    </ListView.ItemTemplate>
                </ListView>
            </StackPanel>
        </Grid>
    </StackPanel>
</UserControl>
